package com.dt76.smallloanbackenduser.hystrix.etao;

import com.dt76.smallloanbackenduser.pojo.etao.CurrentUser;
import com.dt76.smallloanbackenduser.pojo.etao.Employee;
import com.dt76.smallloanbackenduser.remote.etao.EmployeeRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import com.dt76.smallloanbackenduser.utils.Result;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class EmpHystrix implements EmployeeRemote {

    @Override
    public Page getPageEmp(String empName, Integer dId, Integer pageIndex) {
        return new Page();
    }

    @Override
    public Employee getEmpLoginName(String empLoginName) {
        return null;
    }

    @Override
    public Result updEmpEnable(Integer empId, Integer updEnable) {
        return new Result();
    }

    @Override
    public Employee getEmpById(Integer eId) {
        return new Employee();
    }

    @Override
    public Result addEmp(Employee employee,Integer currentId) {
        return null;
    }

    @Override
    public Result updEmp(Employee employee,Integer currentId) {
        return null;
    }

    @Override
    public Result delEmp(Integer eId, CurrentUser currentUser) {
        return null;
    }

    @Override
    public List<Employee> getAllEmp() {
        return null;
    }


}
